import request from '@/utils/request'

/**
 * 获取列表
 * @param params
 * @returns {*}
 */
export function getIndicatorsList(params){
  return request({
    url:'/indicatorsList',
    method:'GET',
    params
  })
}

/**
 * 修改 显示关闭状态
 * @param params
 */
export function updateIndicatorsStatus(params) {
  return request({
    url: '/updateIndicatorsStatus',
    method: 'GET',
    params
  })
}

/**
 * 新增/更新
 * @param data
 */
export function saveIndicators(data) {
  return request({
    url: '/saveIndicators',
    method: 'POST',
    data
  })
}

/**
 * 删除
 * @param params
 * @returns {*}
 */
export function deleteIndicators(params){
  return request({
    url: '/deleteIndicators',
    method: 'GET',
    params
  })
}
